package com.rush.paylog.model;

import java.util.Date;

import android.graphics.Bitmap;

import com.ab.db.orm.annotation.Column;
import com.ab.db.orm.annotation.Id;
import com.ab.db.orm.annotation.Table;

/**
 * 
 * @ClassName: Outlay
 * 
 * @Description: TODO 支出表
 *
 * @author rush rushcome@hotmail.com
 * @date 2013-12-25 下午2:27:14
 */
@Table(name="t_outlay")
public class Outlay {

	// ID @Id主键,int类型,数据库建表时此字段会设为自增长
		@Id
		@Column(name = "_id")
		private int _id;
		
		@Column(name = "u_id",type="NVARCHAR",length = 20)
		private String uId;
		
		//付款类型
		@Column(name = "pay_type" ,type="NVARCHAR",length = 10)
		private String payType;
		
		//付款
		@Column(name = "pay_money")
		private double payMoney;
		
		//付款时间
		@Column(name = "pay_time",type="DATETIME")
		private Date payTime;
		
		//票据图
		@Column(name = "note_photo",type = "BLOB")
		private Bitmap notePhoto;
		
		//备注说明
		@Column(name = "remark",type="NVARCHAR2",length = 100)
		private String remark;
		
		//创建时间
		@Column(name = "create_time",type="DATETIME")
		private Date createTime;
		
		//创建用户
		@Column(name = "create_user",type="NVARCHAR",length = 20)
		private String createUser;
		
		//修改时间
		@Column(name = "modify_time",type="DATETIME")
		private Date modifyTime;
		
		@Column(name = "modify_user",type="NVARCHAR",length = 20)
		private String modifyUser;

		public int get_id() {
			return _id;
		}

		public void set_id(int _id) {
			this._id = _id;
		}

		public String getuId() {
			return uId;
		}

		public void setuId(String uId) {
			this.uId = uId;
		}

		public String getPayType() {
			return payType;
		}

		public void setPayType(String payType) {
			this.payType = payType;
		}

		public double getPayMoney() {
			return payMoney;
		}

		public void setPayMoney(double payMoney) {
			this.payMoney = payMoney;
		}

		public Date getPayTime() {
			return payTime;
		}

		public void setPayTime(Date payTime) {
			this.payTime = payTime;
		}

		public Bitmap getNotePhoto() {
			return notePhoto;
		}

		public void setNotePhoto(Bitmap notePhoto) {
			this.notePhoto = notePhoto;
		}

		public String getRemark() {
			return remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}

		public Date getCreateTime() {
			return createTime;
		}

		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}

		public String getCreateUser() {
			return createUser;
		}

		public void setCreateUser(String createUser) {
			this.createUser = createUser;
		}

		public Date getModifyTime() {
			return modifyTime;
		}

		public void setModifyTime(Date modifyTime) {
			this.modifyTime = modifyTime;
		}

		public String getModifyUser() {
			return modifyUser;
		}

		public void setModifyUser(String modifyUser) {
			this.modifyUser = modifyUser;
		}
	
		
		

}
